package com.jeecms.wicool.entity.product.base;

import java.sql.Timestamp;

import com.jeecms.wicool.entity.product.Product;


/**
 * AbstractProductRelation entity provides the base persistence definition of the
 * ProductRelation entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractProductRelation implements java.io.Serializable {

	// Fields

	private Integer id;
	private Product product;
	private Integer storeCount;
	private Integer readCount;
	private Integer saleCount;
	private Timestamp updateTime;
	

	// Constructors

	/** default constructor */
	public AbstractProductRelation() {
	}


	public AbstractProductRelation(Integer id, Product product,
			Integer storeCount, Integer readCount, Integer saleCount,
			Timestamp updateTime) {
		super();
		this.id = id;
		this.setProduct(product);
		this.storeCount = storeCount;
		this.readCount = readCount;
		this.saleCount = saleCount;
		this.updateTime = updateTime;
	}


	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}




	public Integer getStoreCount() {
		return storeCount;
	}


	public void setStoreCount(Integer storeCount) {
		this.storeCount = storeCount;
	}


	public Integer getReadCount() {
		return readCount;
	}


	public void setReadCount(Integer readCount) {
		this.readCount = readCount;
	}


	public Integer getSaleCount() {
		return saleCount;
	}


	public void setSaleCount(Integer saleCount) {
		this.saleCount = saleCount;
	}


	public Timestamp getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}


	public void setProduct(Product product) {
		this.product = product;
	}


	public Product getProduct() {
		return product;
	}

	

	

}